home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d7
/
exhost13.arc
/
EXAMPLES.ARC
/
UPLOAD.BAT
< prev
Wrap
DOS Batch File
|
1990-11-03
|
446b
|
8 lines
Example batch file to be run after each upload.
fixdir fixnew <--- runs adds fixdir headers to new.dir file
cd uploads <--- changes to the uploads directory
scan %1 /D /NOMEM <--- scans for viruses and auto-deletes infected files
rezip %1 <--- rezips the uploaded file (%1 is sent by Host)
call comment %1 <--- adds BBS comment to zip file
cd \telix <--- returns to the Telix directory